<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt"  uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/help.css"/>
<title>Insert title here</title>
</head>
<body>



<%@ include file="common.jsp" %>
<div id="content_top">
		<p class="p_1">您现在的位置：<a href="UserServlet">首页</a>><span>个人中心</span></p>
		<ul>
			<li><a href="PersonalServlet">个人信息</a></li>
			<li><a href="PersonalServlet?m=edit&loginId=${loginUser.loginId }">修改信息</a></li>
			<li><a href="SuccessServlet?Id=${loginUser.loginId }">查看订单</a></li>
            <li><a href="UserServlet">返回购物</a></li>
            <li><a href="#help_3">联系客服</a></li>	
            <li><a href="#help_3">绑定手机</a></li>
		</ul>
 		<div id="right">
	 		<h4 class="p_2">尊敬的 <span>${loginUser.name }</span> 您好，您所购买的商品有以下：</h4>
			
				<c:forEach items="${successlist}" var="m">
				<div id="abc" >
					<span class="s_1" >
						<img src="img_shop/${m.url }" style="width:90px; height:90px;  " />
					</span>
					<span class="s_2">
						<a href="XiangxiServlet?m=detail&number=${m.number }" style="color:#222; text-decoration: underline; ">${m.title }</a>
					</span>
					<span class="s_3">${m.price }</span>
					<span class="s_3"><a onclick="return confirm('确认取消该订单吗？确认后无法返回')"  href="SuccessServlet?m=del&Url=${m.url }" style="color: #c22;">取消订单</a></span>
					
				</div>
			</c:forEach>
		</div>
</div>

<div id="content">

</div>

<%@ include file="footer.jsp" %>
</body>
</html>